package com.cyh.forum.model;


import lombok.Data;

import java.util.Date;

@Data
public class Message {
    private Long id;

    private Long postUserId;

    private Long receiveUserId;

    private String content;

    private Byte state;     //  0 表示未读状态 1 表示已读状态 2 表示已回复状态

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    //  关联的对象
    private  User postUser;
}